package com.example.smartagriculture.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * log 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
public class Log implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 用户id
     */
    @Schema(name = "user_id", description = "用户id")
    private Integer userId;

    /**
     * 操作
     */
    @Schema(name = "operate", description = "操作")
    private String operate;

    /**
     * 操作日期
     */
    @Schema(name = "operate_date", description = "操作日期")
    private LocalDateTime operateDate;


}
